/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package classes;

import java.io.Serializable;
import java.sql.Date;

/**
 *
 */
public class Customer implements Serializable{

    private String firstName;
    private String lastName;
    private String email;
    private String licenseNo;
    private Date licenseExpire;
    private Card creditCard;

    public Customer(String firstName, String lastName, String email, String licenseNo, Date licenseExpire) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.email = email;
        this.licenseNo = licenseNo;
        this.licenseExpire = licenseExpire;
    }

    public Customer(String firstName, String lastName, String email, String licenseNo, Date licenseExpire, Card creditCard) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.email = email;
        this.licenseNo = licenseNo;
        this.licenseExpire = licenseExpire;
        this.creditCard = creditCard;
    }

    
    public Card getCreditCard() {
        return creditCard;
    }

    public void setCreditCard(Card creditCard) {
        this.creditCard = creditCard;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public Date getLicenseExpire() {
        return licenseExpire;
    }

    public void setLicenseExpire(Date licenseExpire) {
        this.licenseExpire = licenseExpire;
    }

    public String getLicenseNo() {
        return licenseNo;
    }

    public void setLicenseNo(String licenseNo) {
        this.licenseNo = licenseNo;
    }
    
    
}
